package mest.service.hws;

import mest.entity.warehouse_purchase;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

public interface warehouse_purchaseService {
    //新增计划采购单
    String insert(String theirDb,List<Map<String,Object>> record);

    //更新计划采购单
    String updateByPrimaryKey(String theirDb,warehouse_purchase record);

    //根据id查询计划采购单
    String selectByPrimaryKey(String theirDb,Integer id,Integer finishStatus);

    //查询全部计划采购单
    Map<Object, Object> selectPrimary(String theirDb,Integer limit, Integer page, Integer finishStatus);

}
